#{a( 'Profil', UserController.r(:show) )} &gt
#{ 'Edition' }


#{
form(:action => UserController.r(:edit), :method => :post, :class => "vertical-form") do |f|
    f.legend "Modification du profil"

    f.text "Avatar", "avatar", user.avatar
    f.text "Nom", "name", user.name
    f.text "Prénom", "firstname", user.name

    genders = [ 'Homme', 'Femme' ]
    f.select "Sexe", "gender", genders, :selected => user.gender

    f.text "Adresse", "address", user.address
    f.text "Date de naissance", "birthdate", user.dob

    f.submit "Valider"
end
}